/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.activity.vo;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 企业购卡记录
 *
 * @author csg
 * @date 2021-05-21 14:22:31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "企业购卡记录")
public class EntOrderDto extends Model<EntOrderDto> {
private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
    @ApiModelProperty(value="订单ID")
    private Long orderId;

    @ApiModelProperty(value="卡ID")
    private Long cardId;

	@ApiModelProperty(value="卡名称")
	private String cardName;

	@ApiModelProperty(value="企业ID")
	private Long enterpriseId;

	@ApiModelProperty(value="企业名称")
	private String entName;

	@ApiModelProperty(value="企业联系人")
	private String contactPerson;

	@ApiModelProperty(value="企业电话")
	private String entPhone;

	@ApiModelProperty(value="激活有效期:开始时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private LocalDateTime startTime;

	@ApiModelProperty(value="激活有效期:结束时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private LocalDateTime endTime;

	@ApiModelProperty(value="卡数量（参与活动商品数量）")
	private Integer cardCount;

	@ApiModelProperty(value="卡激活数量")
	private Integer activationCount;

	@ApiModelProperty(value="卡未激活数量")
	private Integer notActive;

	@ApiModelProperty(value="创建时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private LocalDateTime createTime;



}
